/**
 * @title Match.java
 * @package com.esun.cheetah.model.match.matchlist
 * @description 
 * @author liugan
 * @date 2012-7-30
 * @copyright 深圳市易讯天空
 */
package com.esun.cheetah.model.match.matchlist;

/**
 * @title Match
 * @description 比赛信息
 * @author liugan
 */
public class Match {

	/**
	 * @field matchId
	 * @description 对阵ID
	 */
	private String matchId = "";
	/**
	 * @field leagueName
	 * @description 联赛名称
	 */
	private String leagueName = "";
	
	/**
	 * @field leagueNameTraditional
	 * @description 联赛繁体名称
	 */
	private String leagueNameTraditional = "";
	/**
	 * @field round
	 * @description 当前联赛的轮次
	 */
	private String round = "";

	/**
	 * @field stage
	 * @description 阶段
	 */
	private String stage = "";
	/**
	 * @field homeName
	 * @description 主队名称
	 */
	private String homeName = "";
	
	/**
	 * @field homeNameTraditional
	 * @description 主队繁体名称
	 */
	private String homeNameTraditional = "";
	
	/**
	 * @field homeScore
	 * @description 主队得分
	 */
	private int homeScore;
	/**
	 * @field awayScore
	 * @description 主队得分
	 */
	private int awayScore;
	
	/**
	 * @field homeNumber
	 * @description 主队名称
	 */
	private String homeNumber = "";
	/**
	 * @field awayName
	 * @description 客队名称
	 */
	private String awayName = "";
	
	/**
	 * @field awayNameTraditional
	 * @description 客队繁体名称
	 */
	private String awayNameTraditional = "";
	
	/**
	 * @field awayNumber
	 * @description 客队排名
	 */
	private String awayNumber = "";
	/**
	 * @field matchState
	 * @description 比赛状态
	 */
	private MatchState matchState;
	/**
	 * @field matchTime
	 * @description 比赛开始时间
	 */
	private String matchTime = "";
	/**
	 * @field marked
	 * @description 是否关注该场比赛
	 */
	private boolean marked;
	/**
	 * @field showState
	 * @description 用于区分列表
	 */
	private ShowState showState;
	
	/**
	 * @field timeState
	 * @description 比赛时间状态
	 */
	private TimeState timeState;
	/**
	 * @field win
	 * @description 胜赔率
	 */
	private String win = "";
	
	/**
	 * @field draw
	 * @description 平赔率
	 */
	private String draw = "";
	
	/**
	 * @field lose
	 * @description 负赔率
	 */
	private String lose = "";
	
	/**
	 * @field daxiaoqiu
	 * @description 大小球
	 */
	private String daxiaoqiu = "";
	
	/**
	 * @field timing
	 * @description 进行时间
	 */
	private String timing = "";
	
	/**
	 * @field matchDate
	 * @description 比赛日期
	 */
	private String matchDate = "";
	
	
	/**
	 * @field filtered
	 * @description 是否已被过滤掉
	 */
	private boolean filtered;
	

	public String getMatchId() {
		return matchId;
	}

	public void setMatchId(String matchId) {
		this.matchId = matchId;
	}

	public String getLeagueName() {
		return leagueName;
	}

	public void setLeagueName(String leagueName) {
		this.leagueName = leagueName;
	}

	public String getRound() {
		return round;
	}

	public void setRound(String round) {
		this.round = round;
	}

	public String getStage() {
		return stage;
	}

	public void setStage(String stage) {
		this.stage = stage;
	}

	public String getHomeName() {
		return homeName;
	}

	public void setHomeName(String homeName) {
		this.homeName = homeName;
	}

	
	public TimeState getTimeState() {
		return timeState;
	}

	public void setTimeState(TimeState timeState) {
		this.timeState = timeState;
	}

	public String getMatchDate() {
		return matchDate;
	}

	public void setMatchDate(String matchDate) {
		this.matchDate = matchDate;
	}

	public int getHomeScore() {
		return homeScore;
	}

	public void setHomeScore(int homeScore) {
		this.homeScore = homeScore;
	}

	public int getAwayScore() {
		return awayScore;
	}

	public String getLeagueNameTraditional() {
		return leagueNameTraditional;
	}

	public void setLeagueNameTraditional(String leagueNameTraditional) {
		this.leagueNameTraditional = leagueNameTraditional;
	}

	public String getHomeNameTraditional() {
		return homeNameTraditional;
	}

	public void setHomeNameTraditional(String homeNameTraditional) {
		this.homeNameTraditional = homeNameTraditional;
	}

	public String getAwayNameTraditional() {
		return awayNameTraditional;
	}

	public void setAwayNameTraditional(String awayNameTraditional) {
		this.awayNameTraditional = awayNameTraditional;
	}

	public void setAwayScore(int awayScore) {
		this.awayScore = awayScore;
	}

	public String getHomeNumber() {
		return homeNumber;
	}

	public void setHomeNumber(String homeNumber) {
		this.homeNumber = homeNumber;
	}

	public String getAwayName() {
		return awayName;
	}

	public void setAwayName(String awayName) {
		this.awayName = awayName;
	}

	public String getAwayNumber() {
		return awayNumber;
	}

	public void setAwayNumber(String awayNumber) {
		this.awayNumber = awayNumber;
	}

	public MatchState getMatchState() {
		return matchState;
	}

	public void setMatchState(MatchState matchState) {
		this.matchState = matchState;
	}

	public String getMatchTime() {
		return matchTime;
	}

	public void setMatchTime(String matchTime) {
		this.matchTime = matchTime;
	}

	public boolean isMarked() {
		return marked;
	}

	public void setMarked(boolean marked) {
		this.marked = marked;
	}

	public ShowState getShowState() {
		return showState;
	}

	public void setShowState(ShowState showState) {
		this.showState = showState;
	}

	public String getWin() {
		return win;
	}

	public void setWin(String win) {
		this.win = win;
	}

	public String getDraw() {
		return draw;
	}

	public void setDraw(String draw) {
		this.draw = draw;
	}

	public String getLose() {
		return lose;
	}

	public void setLose(String lose) {
		this.lose = lose;
	}

	public String getDaxiaoqiu() {
		return daxiaoqiu;
	}

	public void setDaxiaoqiu(String daxiaoqiu) {
		this.daxiaoqiu = daxiaoqiu;
	}

	public String getTiming() {
		return timing;
	}

	public void setTiming(String timing) {
		this.timing = timing;
	}

	public boolean isFiltered() {
		return filtered;
	}

	public void setFiltered(boolean filtered) {
		this.filtered = filtered;
	}
	
	public static enum MatchState {
		playing("进行中"),unplayed("未开赛"),over("完场"),
		interrupt("中断"),abort("腰斩"),canceled("取消"),changed("改期"),undetermined("待定");
		private final String tag;
		private MatchState(String tag){
			this.tag = tag;
		}
		@Override
		public String toString() {
			return this.tag;
		}
	}
	
	public static enum TimeState {
		firstHalf("上半场"),secondHalf("下半场"),halfTime("中场");
		private final String tag;
		private TimeState(String tag){
			this.tag = tag;
		}
		@Override
		public String toString() {
			return tag;
		}
	}
	
	public static enum ShowState {
		playing,unplayed,over;
	}
}
